package com.itqf.mapper;

import com.itqf.bean.DtsCoupon;
import com.itqf.bean.DtsCouponExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DtsCouponMapper {
    long countByExample(DtsCouponExample example);

    int deleteByExample(DtsCouponExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtsCoupon record);

    int insertSelective(DtsCoupon record);

    List<DtsCoupon> selectByExample(DtsCouponExample example);

    DtsCoupon selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtsCoupon record, @Param("example") DtsCouponExample example);

    int updateByExample(@Param("record") DtsCoupon record, @Param("example") DtsCouponExample example);

    int updateByPrimaryKeySelective(DtsCoupon record);

    int updateByPrimaryKey(DtsCoupon record);
}